package com.zeh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zeh.pojo.Message;
import com.zeh.pojo.Picture;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PictureMapper  extends BaseMapper<Picture> {
    //查询照片
    List<Picture> listPicture();

//    //添加图片
//    int savePicture(Picture picture);

//    //根据id查询图片
//    Picture getPicture(Long id);

    //编辑修改相册
    int updatePicture(Picture picture);

//    //删除照片
//    void deletePicture(Long id);

}
